package com.ruoyi.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 事项版本对象 flow_app_version
 *
 * @author zxw
 * @date 2023-03-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("flow_app_version")
public class AppVersion extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 版本ID
     */
    @TableId(value = "version_id")
    private Long versionId;
    /**
     * 事项ID
     */
    private Long appId;
    /**
     * 版本
     */
    @Version
    private Long version;

    /**
     * 表单ID
     */
    private Long formId;

    /**
     * 表单版本ID
     */
    private Long formVersionId;
    /**
     * 流程部署ID
     */
    private String deployId;
    /**
     * 流程定义ID
     */
    private String defId;
    /**
     * 流程图
     */
    private String bpmnXml;

}
